<p id="notice"><%= notice %></p>


<% for column in Photo.content_columns %>
    <p>
     <b><%= column.human_name %>:</b>
             <% if column.name == "binary_data" %>
                  <img src="http://localhost:3000/photos/id" alt= "Not Displayed" width="200" height="200" >
               <% else %>
                    <%=h @photo.send(column.name) %>
             <% end %>
<% end %>

<%= @make %>
<%= @get_data %>


<%= link_to 'Edit', edit_photo_path(@photo) %> |
<%= link_to 'Back', photos_path %>

